<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,
    minimum-scale=1.0">
  <style>
    *{
      padding: 0;
      margin: 0;
    }
    section{
      width: 100%;
      max-width: 980px;
      min-width: 320px;
      margin: 0 auto;
    }
    section div{
      height: 400px;
      float: left;
      width: 50%;
    }
    section div:nth-child(1){
      background-color: pink;
    }
    section div:nth-child(2){
      background-color: skyblue;
    }
  </style>
</head>
<body>
<section>
  <div></div>
  <div></div>
</section>
</body>
</html>